package com.cms.recursoshumanos.handler;

import com.cms.recursoshumanos.facade.LostPasswordFacade;
import com.cms.recursoshumanos.facade.LostUsernameFacade;

public class RecuperacionHandler 
{

	public String getEmailLostPassword(String username, String email)
	{
		return facadeLostPassword(username, email);
	}
	public String getEmailLostUsername(String email)
	{
		return facadeLostUsername(email);
	}
	public String facadeLostPassword(String username, String email)
	{
		LostPasswordFacade lost_password_facade = new LostPasswordFacade(username, email);
		return lost_password_facade.enviarSolicitud();
	}
	public String facadeLostUsername(String email)
	{
		LostUsernameFacade login_facade = new LostUsernameFacade(email);
		return login_facade.enviarSolicitud();
	}

	

}
